package com.yhp.service;

import com.yhp.bean.Role;

import java.util.List;

public interface RoleService {
    public List<Role> getRoleList(int pageIndex, int pageSize);
    public int total();
    public int insertRole(String rolename,String state,String[] ids);

    public List<Role> getList();
    public Role findById(int rid);
    public int updateRole(int roleid,String rolename,String state,String[] ids);
    public int delRole(String sid);
    public int statRole(int rid,int state);
}
